﻿
html, body {
    height: 100%;
}

body {
    cursor: default;
    overflow-y: scroll;
    font-size: 14px;
}

#Container, #ng-view {
    height: 100%;
}

#wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -70px;
    padding: 0 0 70px;
}

.ltr-dir {
    direction: ltr;
}

.rtl-dir {
    direction: rtl;
}

img {
    max-width: 100%;
}

a:hover, a:focus {
    text-decoration: none;
}

.cursor-pointer {
    cursor: pointer;
}

.well h4 + hr {
    border: 1px solid #e5e5e5 !important;
}

.small-caps {
    font-variant: small-caps;
    font-weight: bold;
}

.btn-tabkey.pull-right, .rtl .btn-tabkey.pull-left {
    margin-left: 4px;
}

.btn-tabkey.pull-left, .rtl .btn-tabkey.pull-right {
    margin-right: 4px;
}

.well h4 {
    margin: 3px 0 0 0 !important;
    line-height: 12px;
    font-size: 18px;
}

.form-control.error {
    border-color: #d53e2e;
    border-color: rgb(233, 102, 102);
    outline: 0px none;
    box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.075) inset, 0px 0px 8px rgb(233, 102, 102);
}

label.error {
    color: #c22818;
}

.modal {
    overflow-y: auto;
}

.modal-content {
    overflow: hidden;
}

.fa-spinner {
    font-size: 0.8em !important;
}

.show-important {
    display: block !important;
}

.hr-sm {
    margin-top: 10px;
    margin-bottom: 10px;
}

label {
    font-size: 13px;
    font-weight: normal;
}

.text-ellipsis {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    max-width: 350px;
    -ms-text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
}

.text-ellipsis-sm {
    max-width: 100px !important;
    text-align: center !important;
    margin: 0 auto;
}

.fa.fa-external-link {
    position: relative;
    top: 4px;
    color: #BBB;
}

    .fa.fa-external-link:hover {
        color: #186ac2;
    }

.external-link {
    outline: none !important;
}

.btn i, a i {
    margin-right: 4px;
}

.lbl-show {
    display: inline-block;
    line-height: 30px;
    color: #bbb;
    font-size: 11px;
    padding: 0 10px;
    text-transform: uppercase;
}

.fa.fa-sort-desc, .fa.fa-sort-asc, .fa.fa-sort {
    cursor: pointer;
}

.control-group .control-label-inline {
    display: block;
}

.page-header {
    margin-top: 0;
}

    .page-header h2.page-title {
        text-transform: uppercase;
        font-weight: 700;
        font-size: 22px;
    }

    .page-header .btn-header {
        margin-top: 13px;
        margin-left: 3px;
    }

.active-flt-r {
    display: inline-block;
    width: 21px;
    height: 11px;
    background: url(images/active-filterbar.png) no-repeat 0 0;
    position: absolute;
    top: -11px;
    right: 23px;
}

.btn-flt-r .btn {
    outline: none !important;
}

.toolbar-grid {
    margin-bottom: 18px;
}

.search-grid {
    margin-left: 5px;
}

.pagination {
    margin: 0;
    margin-bottom: 20px;
}

    .pagination > li {
        cursor: pointer;
    }

.admin-views-nav {
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    border-radius: 0;
    margin-bottom: 0;
    margin: 0;
    background: #d53e2e;
    border-color: #c22818;
    border-top: none !important;
}

    .admin-views-nav a {
        outline: none !important;
        font-size: 15px;
    }

    .admin-views-nav .navbar-nav > .active > a, .admin-views-nav .navbar-nav > .active > a:hover, .admin-views-nav .navbar-nav > .active > a:focus, .admin-views-nav .navbar-nav > .open > a, .admin-views-nav .navbar-nav > .open > a:hover, .admin-views-nav .navbar-nav > .open > a:focus {
        background-color: #c22818;
        box-shadow: 0 0 3px #bb1908 inset;
    }

    .admin-views-nav .navbar-nav > li > a {
        color: #ffc6c1;
    }

    .admin-views-nav .navbar-nav > .dropdown > a .caret {
        border-top-color: #ffc6c1;
        border-bottom-color: #ffc6c1;
    }

    .admin-views-nav .dropdown-menu > li > a:hover, .admin-views-nav .dropdown-menu > li > a:focus {
        color: rgb(255, 255, 255);
        text-decoration: none;
        background-color: #666;
    }

    .admin-views-nav .dropdown-menu > li > a.logoff:hover {
        background-color: #d53e2e;
        color: rgb(255, 255, 255);
        text-decoration: none;
    }

    .admin-views-nav .navbar-brand {
        color: #fff;
    }

    .admin-views-nav .navbar-toggle {
        border-color: #fff;
    }

    .admin-views-nav .navbar-collapse, .admin-views-nav .navbar-form {
        border-color: #c22818;
    }

    .admin-views-nav .navbar-toggle:hover, .admin-views-nav .navbar-toggle:focus {
        background-color: #c22818;
    }

    .admin-views-nav .container > .navbar-collapse {
        margin-right: -15px !important;
        margin-left: -15px !important;
    }

.admin-views-subnav {
    background: #F1F1F1;
    padding: 6px 0 7px !important;
    box-shadow: 0 -1px 1px #DDD inset;
}

    .admin-views-subnav .nav-pills {
        padding: 0 0;
    }

        .admin-views-subnav .nav-pills > li {
            border-left: 1px solid #DDD !important;
            padding: 0 4px 0 5px;
            height: 23px;
        }

            .admin-views-subnav .nav-pills > li > a {
                padding: 3px 15px;
                font-size: 12px;
                color: #888;
                outline: none !important;
                border-radius: 3px;
                -moz-transition: background-position ease 0.5s;
                -o-transition: background-position ease 0.5s;
                -webkit-transition: background-position ease 0.5s;
                transition: background-position ease 0.5s;
                background-position: center 40px;
            }

                .admin-views-subnav .nav-pills > li > a:hover {
                    background-color: #e5e5e5;
                    color: #000;
                }

            .admin-views-subnav .nav-pills > li.active > a, .admin-views-subnav .nav-pills > li.active > a:hover, .admin-views-subnav .nav-pills > li.active > a:focus {
                color: #000;
                background: url(images/selected-nav.png) no-repeat center 20px;
                padding: 3px 15px;
                font-size: 12px;
                display: block !important;
                height: 30px !important;
                outline: none !important;
            }

.admin-views-dashboard .view-dashboard {
    margin-top: 40px;
    margin-bottom: 20px;
}

.admin-views-dashboard .fa-spinner {
    font-size: 1.4em !important;
}

.admin-views-dashboard #gal-spinner.loading {
    display: block;
    width: 100%;
    text-align: center;
    padding: 10px 0;
}

.admin-views-dashboard .img-gallery {
    margin-right: 10px;
    margin-top: 4px;
    width: 32px;
    height: 32px;
}

.admin-views-dashboard .item-info-gal {
    width: 80%;
}

.admin-views-dashboard .modal-logfile {
    max-height: 400px;
    overflow-y: auto;
}

.admin-views-dashboard .panel-title > a {
    outline: none;
    font-weight: bold;
    font-size: 14px;
    text-transform: capitalize;
    color: #444;
}

.admin-views-dashboard .text-ellipsis {
    max-width: 85% !important;
}

.admin-views-dashboard .panel-trash .purgeall {
    font-size: 12px;
    padding: 3px 5px;
    cursor: pointer;
    position: relative;
    top: 3px;
    right: -4px;
    opacity: 0;
    -moz-transition: all ease 0.3s;
    -o-transition: all ease 0.3s;
    -webkit-transition: all ease 0.3s;
    transition: all ease 0.3s;
    text-transform: uppercase;
}

.rtl .admin-views-dashboard .panel-trash .purgeall {
    right: auto;
    left: -5px;
}

.admin-views-dashboard .panel-trash:hover .purgeall {
    opacity: 1;
}

.admin-views-dashboard .panel-trash .restorethis, .admin-views-dashboard .panel-trash .purgethis {
    color: #AAA;
}

.admin-views-dashboard .panel-trash .purgethis {
    font-size: 15px;
}

.admin-views-dashboard .panel-trash .restorethis:hover {
    color: #0c9a2d;
}

.admin-views-dashboard .panel-trash .purgethis:hover {
    color: #bd0e0e;
}

.admin-views-dashboard .panel-special-link ul li {
    padding: 0;
    overflow: hidden;
}

    .admin-views-dashboard .panel-special-link ul li a {
        padding: 0 15px;
        line-height: 40px;
        display: block;
        -moz-transition: background-color ease .9s;
        -o-transition: background-color ease .9s;
        -webkit-transition: background-color ease .9s;
        transition: background-color ease .9s;
    }

        .admin-views-dashboard .panel-special-link ul li a:hover {
            background-color: #f9f9f9;
        }

        .admin-views-dashboard .panel-special-link ul li a span.badge {
            position: relative;
            top: 10px;
            -moz-transition: background-color ease .9s;
            -o-transition: background-color ease .9s;
            -webkit-transition: background-color ease .9s;
            transition: background-color ease .9s;
        }

        .admin-views-dashboard .panel-special-link ul li a:hover span.badge {
            background-color: #666;
        }

        .admin-views-dashboard .panel-special-link ul li a.text-ellipsis {
            max-width: 100% !important;
        }

.admin-views-content-posts .item-comment-count {
    display: inline-block;
    background-color: #999;
    border-radius: 100px;
    font-family: sans-serif;
    font-size: 11.5px;
}

.admin-views-content-posts .item-comment-approved {
    background-color: #5cb85c;
}

.admin-views-content-posts .item-comment-pending {
    background-color: #f0ad4e;
}

.admin-views-content-posts .item-comment-spam {
    background-color: #d9534f;
}

.admin-views-content-posts .item-comment-count a {
    display: block;
    color: #fff;
    padding: 0px 5px;
}

.admin-views-custom-themes .table-item-title .text-ellipsis {
    max-width: 600px !important;
}

.admin-views-custom-index .author-gallery {
    max-width: 50px !important;
}

.admin-views-users-profile .about-textarea {
    height: 60px;
}

.admin-views-users-profile .avatar-user {
    width: 90px;
    height: 90px;
    position: relative;
    overflow: hidden;
    border-radius: 3px;
}

    .admin-views-users-profile .avatar-user img {
        width: 90px;
        height: 90px;
        border-radius: 3px;
    }

    .admin-views-users-profile .avatar-user .avatar-control {
        position: absolute;
        bottom: -30px;
        background-color: rgba(0,0,0,0.8);
        width: 100%;
        text-align: center;
        padding: 3px 0;
        -moz-transition: all ease 0.3s;
        -o-transition: all ease 0.3s;
        -webkit-transition: all ease 0.3s;
        transition: all ease 0.3s;
    }

    .admin-views-users-profile .avatar-user:hover .avatar-control {
        bottom: 0;
    }

    .admin-views-users-profile .avatar-user .avatar-control a {
        color: #fff;
    }

.admin-views-users-profile .role-control {
    margin: 5px 0 10px;
}

    .admin-views-users-profile .role-control .label {
        margin-right: 3px;
        display: inline-block;
        padding: 3px;
    }

.admin-views-users-profile .user-info {
    padding-left: 10px;
}

    .admin-views-users-profile .user-info .user-name {
        font-size: 18px;
        font-weight: bold;
    }

.admin-views-users-roles .modal-roles {
    height: 360px;
    overflow-y: scroll;
}

.nav {
  margin-bottom: 0;
  padding-left: 0;
  list-style: none;
}
.nav > li {
  position: relative;
  display: block;
}
.nav > li > a {
  position: relative;
  display: block;
  padding: 10px 15px;
}
.nav > li > a:hover,
.nav > li > a:focus {
  text-decoration: none;
  background-color: #eeeeee;
}
.nav > li.disabled > a {
  color: #999999;
}
.nav > li.disabled > a:hover,
.nav > li.disabled > a:focus {
  color: #999999;
  text-decoration: none;
  background-color: transparent;
  cursor: not-allowed;
}
.nav .open > a,
.nav .open > a:hover,
.nav .open > a:focus {
  background-color: #eeeeee;
  border-color: #428bca;
}
.nav .nav-divider {
  height: 1px;
  margin: 9px 0;
  overflow: hidden;
  background-color: #e5e5e5;
}
.nav > li > a > img {
  max-width: none;
}
.nav-tabs {
  border-bottom: 1px solid #dddddd;
}
.nav-tabs > li {
  float: left;
  margin-bottom: -1px;
}
.nav-tabs > li > a {
  margin-right: 2px;
  line-height: 1.428571429;
  border: 1px solid transparent;
  border-radius: 0px 0px 0 0;
}
.nav-tabs > li > a:hover {
  border-color: #eeeeee #eeeeee #dddddd;
}
.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
  color: #555555;
  background-color: #ffffff;
  border: 1px solid #dddddd;
  border-bottom-color: transparent;
  cursor: default;
}
.nav-tabs.nav-justified {
  width: 100%;
  border-bottom: 0;
}
.nav-tabs.nav-justified > li {
  float: none;
}
.nav-tabs.nav-justified > li > a {
  text-align: center;
  margin-bottom: 5px;
}
.nav-tabs.nav-justified > .dropdown .dropdown-menu {
  top: auto;
  left: auto;
}
@media (min-width: 768px) {
  .nav-tabs.nav-justified > li {
    display: table-cell;
    width: 1%;
  }
  .nav-tabs.nav-justified > li > a {
    margin-bottom: 0;
  }
}
.nav-tabs.nav-justified > li > a {
  margin-right: 0;
  border-radius: 0px;
}
.nav-tabs.nav-justified > .active > a,
.nav-tabs.nav-justified > .active > a:hover,
.nav-tabs.nav-justified > .active > a:focus {
  border: 1px solid #dddddd;
}
@media (min-width: 768px) {
  .nav-tabs.nav-justified > li > a {
    border-bottom: 1px solid #dddddd;
    border-radius: 0px 0px 0 0;
  }
  .nav-tabs.nav-justified > .active > a,
  .nav-tabs.nav-justified > .active > a:hover,
  .nav-tabs.nav-justified > .active > a:focus {
    border-bottom-color: #ffffff;
  }
}
.nav-pills > li {
  float: left;
}
.nav-pills > li > a {
  border-radius: 0px;
}
.nav-pills > li + li {
  margin-left: 2px;
}
.nav-pills > li.active > a,
.nav-pills > li.active > a:hover,
.nav-pills > li.active > a:focus {
  color: #ffffff;
  background-color: #428bca;
}
.nav-stacked > li {
  float: none;
}
.nav-stacked > li + li {
  margin-top: 2px;
  margin-left: 0;
}
.nav-justified {
  width: 100%;
}
.nav-justified > li {
  float: none;
}
.nav-justified > li > a {
  text-align: center;
  margin-bottom: 5px;
}
.nav-justified > .dropdown .dropdown-menu {
  top: auto;
  left: auto;
}
@media (min-width: 768px) {
  .nav-justified > li {
    display: table-cell;
    width: 1%;
  }
  .nav-justified > li > a {
    margin-bottom: 0;
  }
}
.nav-tabs-justified {
  border-bottom: 0;
}
.nav-tabs-justified > li > a {
  margin-right: 0;
  border-radius: 0px;
}
.nav-tabs-justified > .active > a,
.nav-tabs-justified > .active > a:hover,
.nav-tabs-justified > .active > a:focus {
  border: 1px solid #dddddd;
}
@media (min-width: 768px) {
  .nav-tabs-justified > li > a {
    border-bottom: 1px solid #dddddd;
    border-radius: 0px 0px 0 0;
  }
  .nav-tabs-justified > .active > a,
  .nav-tabs-justified > .active > a:hover,
  .nav-tabs-justified > .active > a:focus {
    border-bottom-color: #ffffff;
  }
}
.tab-content > .tab-pane {
  display: none;
}
.tab-content > .active {
  display: block;
}
.nav-tabs .dropdown-menu {
  margin-top: -1px;
  border-top-right-radius: 0;
  border-top-left-radius: 0;
}
.navbar {
  position: relative;
  min-height: 50px;
  margin-bottom: 0px;
  border: 1px solid transparent;
}
@media (min-width: 768px) {
  .navbar {
    border-radius: 0px;
  }
}
@media (min-width: 768px) {
  .navbar-header {
    float: left;
  }
}
.navbar-collapse {
  max-height: 340px;
  overflow-x: visible;
  padding-right: 15px;
  padding-left: 15px;
  border-top: 1px solid transparent;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  -webkit-overflow-scrolling: touch;
}
.navbar-collapse.in {
  overflow-y: auto;
}
@media (min-width: 768px) {
  .navbar-collapse {
    width: auto;
    border-top: 0;
    box-shadow: none;
  }
  .navbar-collapse.collapse {
    display: block !important;
    height: auto !important;
    padding-bottom: 0;
    overflow: visible !important;
  }
  .navbar-collapse.in {
    overflow-y: visible;
  }
  .navbar-fixed-top .navbar-collapse,
  .navbar-static-top .navbar-collapse,
  .navbar-fixed-bottom .navbar-collapse {
    padding-left: 0;
    padding-right: 0;
  }
}
.container > .navbar-header,
.container-fluid > .navbar-header,
.container > .navbar-collapse,
.container-fluid > .navbar-collapse {
  margin-right: -15px;
  margin-left: -15px;
}
@media (min-width: 768px) {
  .container > .navbar-header,
  .container-fluid > .navbar-header,
  .container > .navbar-collapse,
  .container-fluid > .navbar-collapse {
    margin-right: 0;
    margin-left: 0;
  }
}
.navbar-static-top {
  z-index: 1000;
  border-width: 0 0 1px;
}
@media (min-width: 768px) {
  .navbar-static-top {
    border-radius: 0;
  }
}
.navbar-fixed-top,
.navbar-fixed-bottom {
  position: fixed;
  right: 0;
  left: 0;
  z-index: 1030;
}
@media (min-width: 768px) {
  .navbar-fixed-top,
  .navbar-fixed-bottom {
    border-radius: 0;
  }
}
.navbar-fixed-top {
  top: 0;
  border-width: 0 0 1px;
}
.navbar-fixed-bottom {
  bottom: 0;
  margin-bottom: 0;
  border-width: 1px 0 0;
}
.navbar-brand {
  float: left;
  padding: 15px 15px;
  font-size: 18px;
  line-height: 20px;
  height: 50px;
}
.navbar-brand:hover,
.navbar-brand:focus {
  text-decoration: none;
}
@media (min-width: 768px) {
  .navbar > .container .navbar-brand,
  .navbar > .container-fluid .navbar-brand {
    margin-left: -15px;
  }
}
.navbar-toggle {
  position: relative;
  float: right;
  margin-right: 15px;
  padding: 9px 10px;
  margin-top: 8px;
  margin-bottom: 8px;
  background-color: transparent;
  background-image: none;
  border: 1px solid transparent;
  border-radius: 0px;
}
.navbar-toggle:focus {
  outline: none;
}
.navbar-toggle .icon-bar {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 1px;
}
.navbar-toggle .icon-bar + .icon-bar {
  margin-top: 4px;
}
@media (min-width: 768px) {
  .navbar-toggle {
    display: none;
  }
}
.navbar-nav {
  margin: 7.5px -15px;
}
.navbar-nav > li > a {
  padding-top: 10px;
  padding-bottom: 10px;
  line-height: 20px;
}
@media (max-width: 767px) {
  .navbar-nav .open .dropdown-menu {
    position: static;
    float: none;
    width: auto;
    margin-top: 0;
    background-color: transparent;
    border: 0;
    box-shadow: none;
  }
  .navbar-nav .open .dropdown-menu > li > a,
  .navbar-nav .open .dropdown-menu .dropdown-header {
    padding: 5px 15px 5px 25px;
  }
  .navbar-nav .open .dropdown-menu > li > a {
    line-height: 20px;
  }
  .navbar-nav .open .dropdown-menu > li > a:hover,
  .navbar-nav .open .dropdown-menu > li > a:focus {
    background-image: none;
  }
}
@media (min-width: 768px) {
  .navbar-nav {
    float: left;
    margin: 0;
  }
  .navbar-nav > li {
    float: left;
  }
  .navbar-nav > li > a {
    padding-top: 15px;
    padding-bottom: 15px;
  }
  .navbar-nav.navbar-right:last-child {
    margin-right: -15px;
  }
}
@media (min-width: 768px) {
  .navbar-left {
    float: left !important;
  }
  .navbar-right {
    float: right !important;
  }
}
.navbar-form {
  margin-left: -15px;
  margin-right: -15px;
  padding: 10px 15px;
  border-top: 1px solid transparent;
  border-bottom: 1px solid transparent;
  -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1);
  margin-top: 8px;
  margin-bottom: 8px;
}
@media (min-width: 768px) {
  .navbar-form .form-group {
    display: inline-block;
    margin-bottom: 0;
    vertical-align: middle;
  }
  .navbar-form .form-control {
    display: inline-block;
    width: auto;
    vertical-align: middle;
  }
  .navbar-form .input-group > .form-control {
    width: 100%;
  }
  .navbar-form .control-label {
    margin-bottom: 0;
    vertical-align: middle;
  }
  .navbar-form .radio,
  .navbar-form .checkbox {
    display: inline-block;
    margin-top: 0;
    margin-bottom: 0;
    padding-left: 0;
    vertical-align: middle;
  }
  .navbar-form .radio input[type="radio"],
  .navbar-form .checkbox input[type="checkbox"] {
    float: none;
    margin-left: 0;
  }
  .navbar-form .has-feedback .form-control-feedback {
    top: 0;
  }
}
@media (max-width: 767px) {
  .navbar-form .form-group {
    margin-bottom: 5px;
  }
}
@media (min-width: 768px) {
  .navbar-form {
    width: auto;
    border: 0;
    margin-left: 0;
    margin-right: 0;
    padding-top: 0;
    padding-bottom: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
  }
  .navbar-form.navbar-right:last-child {
    margin-right: -15px;
  }
}
.navbar-nav > li > .dropdown-menu {
  margin-top: 0;
  border-top-right-radius: 0;
  border-top-left-radius: 0;
}
.navbar-fixed-bottom .navbar-nav > li > .dropdown-menu {
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}
.navbar-btn {
  margin-top: 8px;
  margin-bottom: 8px;
}
.navbar-btn.btn-sm {
  margin-top: 10px;
  margin-bottom: 10px;
}
.navbar-btn.btn-xs {
  margin-top: 14px;
  margin-bottom: 14px;
}
.navbar-text {
  margin-top: 15px;
  margin-bottom: 15px;
}
@media (min-width: 768px) {
  .navbar-text {
    float: left;
    margin-left: 15px;
    margin-right: 15px;
  }
  .navbar-text.navbar-right:last-child {
    margin-right: 0;
  }
}
.navbar-default {
  background-color: #2e8bcc;
  border-color: #2e8bcc;
}
.navbar-default .navbar-brand {
  color: #ffffff;
}
.navbar-default .navbar-brand:hover,
.navbar-default .navbar-brand:focus {
  color: #e6e6e6;
  background-color: transparent;
}
.navbar-default .navbar-text {
  color: #777777;
}
.navbar-default .navbar-nav > li > a {
  color: #ffffff;
}
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
  color: #ffffff;
  background-color: #2879b1;
}
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
  color: #ffffff;
  background-color: #2879b1;
}
.navbar-default .navbar-nav > .disabled > a,
.navbar-default .navbar-nav > .disabled > a:hover,
.navbar-default .navbar-nav > .disabled > a:focus {
  color: #cccccc;
  background-color: transparent;
}
.navbar-default .navbar-toggle {
  border-color: #dddddd;
}
.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
  background-color: #dddddd;
}
.navbar-default .navbar-toggle .icon-bar {
  background-color: #888888;
}
.navbar-default .navbar-collapse,
.navbar-default .navbar-form {
  border-color: #2e8bcc;
}
.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .open > a:hover,
.navbar-default .navbar-nav > .open > a:focus {
  background-color: #2879b1;
  color: #ffffff;
}
@media (max-width: 767px) {
  .navbar-default .navbar-nav .open .dropdown-menu > li > a {
    color: #ffffff;
  }
  .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover,
  .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {
    color: #ffffff;
    background-color: #2879b1;
  }
  .navbar-default .navbar-nav .open .dropdown-menu > .active > a,
  .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover,
  .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus {
    color: #ffffff;
    background-color: #2879b1;
  }
  .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a,
  .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:hover,
  .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:focus {
    color: #cccccc;
    background-color: transparent;
  }
}
.navbar-default .navbar-link {
  color: #ffffff;
}
.navbar-default .navbar-link:hover {
  color: #ffffff;
}
.navbar-inverse {
  background-color: #222222;
  border-color: #222222;
}
.navbar-inverse .navbar-brand {
  color: #ffffff;
}
.navbar-inverse .navbar-brand:hover,
.navbar-inverse .navbar-brand:focus {
  color: #ffffff;
  background-color: transparent;
}
.navbar-inverse .navbar-text {
  color: #999999;
}
.navbar-inverse .navbar-nav > li > a {
  color: #ffffff;
}
.navbar-inverse .navbar-nav > li > a:hover,
.navbar-inverse .navbar-nav > li > a:focus {
  color: #ffffff;
  background-color: #555555;
}
.navbar-inverse .navbar-nav > .active > a,
.navbar-inverse .navbar-nav > .active > a:hover,
.navbar-inverse .navbar-nav > .active > a:focus {
  color: #ffffff;
  background-color: #3498db;
}
.navbar-inverse .navbar-nav > .disabled > a,
.navbar-inverse .navbar-nav > .disabled > a:hover,
.navbar-inverse .navbar-nav > .disabled > a:focus {
  color: #444444;
  background-color: transparent;
}
.navbar-inverse .navbar-toggle {
  border-color: #333333;
}
.navbar-inverse .navbar-toggle:hover,
.navbar-inverse .navbar-toggle:focus {
  background-color: #333333;
}
.navbar-inverse .navbar-toggle .icon-bar {
  background-color: #ffffff;
}
.navbar-inverse .navbar-collapse,
.navbar-inverse .navbar-form {
  border-color: #101010;
}
.navbar-inverse .navbar-nav > .open > a,
.navbar-inverse .navbar-nav > .open > a:hover,
.navbar-inverse .navbar-nav > .open > a:focus {
  background-color: #3498db;
  color: #ffffff;
}
@media (max-width: 767px) {
  .navbar-inverse .navbar-nav .open .dropdown-menu > .dropdown-header {
    border-color: #222222;
  }
  .navbar-inverse .navbar-nav .open .dropdown-menu .divider {
    background-color: #222222;
  }
  .navbar-inverse .navbar-nav .open .dropdown-menu > li > a {
    color: #ffffff;
  }
  .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:hover,
  .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:focus {
    color: #ffffff;
    background-color: #555555;
  }
  .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a,
  .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:hover,
  .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:focus {
    color: #ffffff;
    background-color: #3498db;
  }
  .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a,
  .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:hover,
  .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:focus {
    color: #444444;
    background-color: transparent;
  }
}
.navbar-inverse .navbar-link {
  color: #ffffff;
}
.navbar-inverse .navbar-link:hover {
  color: #ffffff;
}
.table-item-avatar {
    padding: 0 !important;
}

    .table-item-avatar img {
        width: 32px;
        height: 32px;
        top: 2px;
        position: relative;
    }

.table thead > tr > th {
    vertical-align: middle;
}

.table {
    color: #888;
    font-size: 13px;
    border-top-color: #CCC;
}

    .table tr th, .table tr td {
        text-align: center;
    }

    .table thead {
        color: #444;
        text-align: center;
    }

        .table thead tr th {
            border-color: #DDD;
            border-top: 1px solid #DDD !important;
            background-color: #EEE;
            border-bottom-width: 1px;
        }

    .table tr th:first-child, .table tr td:first-child {
        min-width: 15px !important;
        width: 15px !important;
    }

    .table .table-item-title {
        text-align: left;
    }

    .table .table-item-w10 {
        width: 10%;
    }

    .table .table-item-w20 {
        width: 20%;
    }

    .table .table-item-w30 {
        width: 30%;
    }

    .table .table-item-w40 {
        width: 40%;
    }

    .table .table-item-w50 {
        width: 50%;
    }

    .table .table-item-w60 {
        width: 60%;
    }

    .table .table-item-w70 {
        width: 70%;
    }

    .table .table-item-w80 {
        width: 80%;
    }

    .table .table-item-w85 {
        width: 85%;
    }

    .table .table-item-w90 {
        width: 90%;
    }

    .table .table-item-w100 {
        width: 100%;
    }

#footer {
    padding: 10px 10px 10px !important;
    margin-top: 0 !important;
    background: #F5F5F5;
    color: #AAA;
    border-top: 1px solid #e5e5e5;
    height: 70px;
}

    #footer a {
        color: #AAA;
    }

    #footer .BlogEngine-app {
        height: 50px;
        line-height: 50px;
    }

    #footer .logo-brand {
        margin: 6px 0 0 0 !important;
        padding: 0 !important;
        display: block;
        height: 50px;
        width: 150px;
    }

        #footer .logo-brand img {
            width: 100%;
        }

.rtl {
    font-family: Tahoma,arial,sans-serif;
    direction: rtl;
}

    .rtl .pull-right {
        float: left !important;
    }

    .rtl .pull-left {
        float: right !important;
    }

    .rtl .text-right {
        text-align: left !important;
    }

    .rtl .text-left {
        text-align: left !important;
    }

    .rtl .btn i, .rtl a i {
        margin-right: 0;
        margin-left: 4px;
    }

    .rtl .radio input[type="radio"], .rtl .radio-inline input[type="radio"], .rtl .checkbox input[type="checkbox"], .rtl .checkbox-inline input[type="checkbox"] {
        float: right;
        margin-left: 5px;
    }

    .rtl table, .rtl .table .table-item-title {
        text-align: right;
        font-family: Tahoma;
    }

        .rtl .table .table-item-title .item-description {
            display: none;
        }

    .rtl .page-header h2.page-title {
        font-family: 'B Mitra',arial;
    }

    .rtl .nav {
        padding-right: 0;
    }

    .rtl .nav-pills > li {
        float: right;
    }

    .rtl .list-group {
        padding-right: 0;
    }

    .rtl .pagination {
        padding-right: 0;
    }

    .rtl .search-grid {
        margin-left: 0;
        margin-right: 5px;
    }

    .rtl .btn-group > .btn, .rtl .btn-group-vertical > .btn {
        float: right;
    }

        .rtl .btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) {
            border-top-left-radius: 0px;
            border-bottom-left-radius: 0px;
            border-top-right-radius: 3px;
            border-bottom-right-radius: 3px;
        }

        .rtl .btn-group > .btn:last-child:not(:first-child), .rtl .btn-group > .dropdown-toggle:not(:first-child) {
            border-top-left-radius: 3px;
            border-bottom-left-radius: 3px;
            border-top-right-radius: 0px;
            border-bottom-right-radius: 0px;
        }

    .rtl .btn-group .btn + .btn, .rtl .btn-group .btn + .btn-group, .rtl .btn-group .btn-group + .btn, .rtl .btn-group .btn-group + .btn-group {
        margin-left: 0 !important;
        margin-right: -1px;
    }

    .rtl .page-header .btn-header {
        font-size: 13px;
        font-weight: bold;
    }

    .rtl .close {
        float: left !important;
    }

    .rtl .modal-footer {
        text-align: left;
    }

    .rtl .btn-toolbar .btn-group {
        float: right;
    }

    .rtl .btn-toolbar > .btn + .btn, .rtl .btn-toolbar > .btn-group + .btn, .rtl .btn-toolbar > .btn + .btn-group, .rtl .btn-toolbar > .btn-group + .btn-group {
        margin-left: 0;
        margin-right: 4px !important;
    }

    .rtl .panel-title > a {
        font-family: Tahoma;
        font-weight: bold;
        font-size: 12px;
    }

    .rtl .admin-views-dashboard .img-gallery {
        margin-right: 0;
        margin-left: 10px;
    }

@media screen and (min-width:1920px) {
    .text-ellipsis {
        max-width: 500px !important;
    }
}

@media screen and (min-width:992px) {
    .rtl .col-md-1, .rtl .col-md-2, .rtl .col-md-3, .rtl .col-md-4, .rtl .col-md-5, .rtl .col-md-6, .rtl .col-md-7, .rtl .col-md-8, .rtl .col-md-9, .rtl .col-md-10, .rtl .col-md-11 {
        float: right !important;
    }

    .rtl .col-md-offset-12 {
        margin-left: 0 !important;
        margin-right: 100%;
    }

    .rtl .col-md-offset-11 {
        margin-left: 0 !important;
        margin-right: 91.66666666666666% !important;
    }

    .rtl .col-md-offset-10 {
        margin-left: 0 !important;
        margin-right: 83.33333333333334% !important;
    }

    .rtl .col-md-offset-9 {
        margin-left: 0 !important;
        margin-right: 75% !important;
    }

    .rtl .col-md-offset-8 {
        margin-left: 0 !important;
        margin-right: 66.66666666666666% !important;
    }

    .rtl .col-md-offset-7 {
        margin-left: 0 !important;
        margin-right: 58.333333333333336% !important;
    }

    .rtl .col-md-offset-6 {
        margin-left: 0 !important;
        margin-right: 50% !important;
    }

    .rtl .col-md-offset-5 {
        margin-left: 0 !important;
        margin-right: 41.66666666666667% !important;
    }

    .rtl .col-md-offset-4 {
        margin-left: 0 !important;
        margin-right: 33.33333333333333% !important;
    }

    .rtl .col-md-offset-3 {
        margin-left: 0 !important;
        margin-right: 25% !important;
    }

    .rtl .col-md-offset-2 {
        margin-left: 0 !important;
        margin-right: 16.666666666666664% !important;
    }

    .rtl .col-md-offset-1 {
        margin-left: 0 !important;
        margin-right: 8.333333333333332% !important;
    }
}

@media screen and (max-width:992px) {
    .hmax992 {
        display: none;
    }

    .admin-views-custom-themes .text-ellipsis {
        max-width: 300px !important;
    }

    .admin-views-custom-index .table-item-w50 {
        width: 100%;
    }

    .admin-views-dashboard .panel-trash .purgeall {
        opacity: 1;
    }

    .admin-views-subnav .nav-pills > li > a, .admin-views-subnav .nav-pills > li.active > a, .admin-views-subnav .nav-pills > li.active:hover > a, .admin-views-subnav .nav-pills > li.active:active > a {
        padding-right: 5px;
        padding-left: 5px;
    }

    .table .table-item-w60 {
        width: 45%;
    }

    .text-ellipsis {
        max-width: 250px;
    }
}

@media screen and (min-width:768px) {
    .hmin767 {
        display: none;
    }

    .rtl .col-sm-1, .rtl .col-sm-2, .rtl .col-sm-3, .rtl .col-sm-4, .rtl .col-sm-5, .rtl .col-sm-6, .rtl .col-sm-7, .rtl .col-sm-8, .rtl .col-sm-9, .rtl .col-sm-10, .rtl .col-sm-11 {
        float: right !important;
    }

    .rtl .navbar-nav {
        float: right;
    }

        .rtl .navbar-nav > li, .rtl .nav-pills > li {
            float: right;
        }

    .rtl .navbar-right {
        float: left !important;
    }

        .rtl .navbar-right .dropdown-menu {
            right: auto !important;
            left: 0 !important;
        }
}

@media screen and (max-width:768px) {
    .hmax768 {
        display: none;
    }

    .table .table-item-w60 {
        width: 60%;
    }

    .text-ellipsis {
        max-width: 200px;
    }

    .pagination-wrapper {
        text-align: center;
    }

    body.modal-open, .modal-open .navbar-fixed-top, .modal-open .navbar-fixed-bottom {
        margin-right: 0 !important;
    }
}

@media screen and (max-width:767px) {
    .rtl .flt-r {
        display: none;
        float: none !important;
    }

    .rtl .active-flt-r {
        right: auto;
        left: 23px;
    }

    .rtl .btn-toolbar.pull-right {
        float: left !important;
    }

    .rtl .pull-right.lbl-show {
        float: right !important;
    }

    .admin-views-dashboard .view-dashboard .col-xs-6 {
        width: 100% !important;
    }

    .admin-views-content-comments .lbl-show {
        display: block;
    }

    .flt-r {
        display: none;
        float: none !important;
        clear: both;
        opacity: 1;
        position: relative;
        top: 15px;
        margin-bottom: 15px;
        padding: 10px;
        border-radius: 3px;
        border: 1px solid #DDD;
        background-color: #fff;
    }

    .navbar-brand {
        display: block !important;
    }

    .admin-views-subnav {
        padding-bottom: 2px !important;
    }

        .admin-views-subnav .nav-pills > li {
            border: none !important;
            padding: 0 !important;
            margin-right: 3px;
            margin-left: 0;
            margin-bottom: 6px;
        }

            .admin-views-subnav .nav-pills > li > a, .admin-views-subnav .nav-pills > li > a:hover {
                display: inline-block;
                padding: 3px 7px;
                margin-bottom: 0px;
                font-weight: normal;
                line-height: 1.42857;
                text-align: center;
                white-space: nowrap;
                vertical-align: middle;
                cursor: pointer;
                border: 1px solid transparent;
                border-radius: 4px;
                -moz-user-select: none;
                color: rgb(51, 51, 51);
                background-color: rgb(255, 255, 255);
                border-color: rgb(204, 204, 204);
            }

            .admin-views-subnav .nav-pills > li.active > a, .admin-views-subnav .nav-pills > li.active > a:hover, .admin-views-subnav .nav-pills > li.active > a:focus {
                padding: 3px 7px;
                display: block !important;
                height: 25px !important;
                outline: medium none !important;
                background-image: none;
                color: rgb(51, 51, 51);
                background-color: rgb(235, 235, 235);
                border-color: rgb(173, 173, 173);
                box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.125) inset;
            }

    .admin-views-nav .dropdown-menu > li > a {
        color: #ffc6c1 !important;
    }

        .admin-views-nav .dropdown-menu > li > a:hover {
            color: #fff !important;
        }

    .navbar-brand {
        position: absolute;
        top: -7px;
        left: 0px;
    }

        .navbar-brand .btn {
            border-color: #fff !important;
            line-height: 34px;
            padding: 0 10px !important;
            margin: 0 !important;
            height: 34px;
            color: #fff !important;
            background: none !important;
        }

            .navbar-brand .btn i {
                margin-top: 8px;
                margin-right: 0;
            }
}

@media screen and (max-width:580px) {
    .hmax580 {
        display: none;
    }

    .admin-views-content-pages .table-item-w50 {
        width: 100%;
    }

    .admin-views-content-comments .flt-r .search-grid input[type=text] {
        width: 100% !important;
    }

    .admin-views-content-comments .flt-r .search-grid {
        float: none !important;
        margin: 0;
        height: 38px;
    }
}

@media screen and (max-width:480px) {
    .hmax480 {
        display: none;
    }

    .text-ellipsis {
        max-width: 150px;
    }

    .flt-r .search-grid input[type=text] {
        width: 100% !important;
    }

    .flt-r .search-grid {
        float: none !important;
        margin: 0;
        height: 38px;
    }

    .admin-views-content-comments .table-item-w50 {
        width: 80%;
    }

    .admin-views-content-comments .text-ellipsis {
        max-width: 280px;
    }

    .admin-views-content-comments .lbl-show {
        display: none;
    }
}

@media screen and (max-width:479px) {
    .hmax479 {
        display: none;
    }

    .admin-views-content-comments .text-ellipsis {
        max-width: 180px;
    }

    .table-item-title .fa-external-link {
        display: none;
    }

    #footer .pull-left {
        float: none !important;
        text-align: center;
    }

    #footer .logo-brand {
        display: none;
    }
}

@media screen and (max-width:360px) {
    .admin-views-dashboard .view-dashboard {
        margin-top: 18px;
    }

    .admin-views-subnav .nav-pills > li > a, .admin-views-subnav .nav-pills > li > a:hover, .admin-views-subnav .nav-pills > li.active > a, .admin-views-subnav .nav-pills > li.active > a:hover, .admin-views-subnav .nav-pills > li.active > a:focus {
        padding: 3px;
    }

    .admin-views-subnav .container {
        width: 100%;
        padding: 0 5px;
    }

    .toolbar-grid .btn, .btn-header, .pagination-wrapper .pagination > li > a {
        padding: 4px 7px !important;
    }

    .btn-header {
        margin-top: 15px !important;
    }

    #wrap {
        min-height: 100%;
        height: auto;
        margin: 0 auto -40px;
        padding: 0 0 40px;
    }

    #footer {
        padding: 0 !important;
        height: 40px;
    }

        #footer .BlogEngine-app {
            height: 40px;
            line-height: 40px;
        }
}

@media screen and (max-width:359px) {
    .rtl .active-flt-r {
        left: 4px;
        right: auto;
    }

    .hmax359 {
        display: none;
    }

    .admin-views-content-comments .text-ellipsis {
        max-width: 150px;
    }

    .admin-views-content-comments .flt-r .btn-group > .btn {
        padding: 2px 5px !important;
    }

    .admin-views-content-categories .page-title {
        font-size: 18px !important;
    }

    .btn-flt-r .btn i {
        margin: 0;
    }

    .btn-flt-r .btn {
        padding: 8px 6px 6px !important;
    }

        .btn-flt-r .btn span {
            display: none;
        }

    .active-flt-r {
        right: 4px;
    }
}

/* NEW TUANITPRO */
.dropdown-submenu{position:relative;}
.dropdown-submenu>.dropdown-menu{top:0;left:100%;margin-top:-6px;margin-left:-1px;-webkit-border-radius:0 6px 6px 6px;-moz-border-radius:0 6px 6px 6px;border-radius:0 6px 6px 6px;}
.dropdown-submenu:hover>.dropdown-menu{display:block;}
.dropdown-submenu>a:after{display:block;content:" ";float:right;width:0;height:0;border-color:transparent;border-style:solid;border-width:5px 0 5px 5px;border-left-color:#cccccc;margin-top:5px;margin-right:-10px;}
.dropdown-submenu:hover>a:after{border-left-color:#ffffff;}
.dropdown-submenu.pull-left{float:none;}.dropdown-submenu.pull-left>.dropdown-menu{left:-100%;margin-left:10px;-webkit-border-radius:6px 0 6px 6px;-moz-border-radius:6px 0 6px 6px;border-radius:6px 0 6px 6px;}